package com.shycloud.mido.member.api.vo;

import java.io.Serializable;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shycloud.mido.member.api.entity.MemberActivateEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class MemberActivateEntityResp extends MemberActivateEntity implements Serializable {

	private static final long serialVersionUID = 5300622557637786204L;

	@ApiModelProperty(value = "账户")
	private String username;

	@ApiModelProperty(value = "真实名字")
	private String realName;

	@ApiModelProperty(value = "昵称")
	private String showname;

	@ApiModelProperty(value = "手机号")
	private String phone;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "激活时间开始")
	private LocalDateTime activeStartTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@ApiModelProperty(value = "激活时间结束")
	private LocalDateTime activeEndTime;

	@ApiModelProperty(value = "机构名称")
	private String orgName;

	@ApiModelProperty(value = "运营商名称")
	private String optName;

}
